-- GENERATED SPELL FOR [Mana Serpent] --


function spell0_15966(pUnit, Event) --@Faerie Fire,n/a--
pUnit:FullCastSpellOnTarget(25602,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15966', 22000, 1)
end

function Sorts_15966(pUnit, Event)
local choix_sorts_15966 = math.random(0, 0)
if choix_sorts_15966 == 0 then
pUnit:RegisterEvent('spell0_15966', 1, 1)
end
end

function mob15966_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15966', math.random(1500, 3000), 1)
end

function mob15966_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15966_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15966_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15966, 1, 'mob15966_Action')
RegisterUnitEvent(15966, 2, 'mob15966_Leave')
RegisterUnitEvent(15966, 3, 'mob15966_Kill')
RegisterUnitEvent(15966, 4, 'mob15966_Die')
